<%--
  Created by IntelliJ IDEA.
  User: Jerry
  Date: 2019/10/4
  Time: 17:48
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <div align="center">
        <strong>我的工作笔记</strong>
        <p>标题：${work.title }</p>
        <p>内容：${work.content }</p>
        <p>
            类别：<c:if test="${work.type == 1 }">技术</c:if>
            <c:if test="${work.type == 2 }">行政</c:if>
            <c:if test="${work.type == 3 }">人事</c:if>
        </p>
        <p>日期：${work.createDate }</p>
        <p><input type="submit" value="返回" onclick="history.back();"></p>
    </div>
</body>
</html>
